package fei.yuzhi.com.loveflowers.fragment.classifyFragment;

import java.util.List;

import fei.yuzhi.com.loveflowers.base.IModle;
import fei.yuzhi.com.loveflowers.base.IPresenter;
import fei.yuzhi.com.loveflowers.base.IView;
import fei.yuzhi.com.loveflowers.bean.ClassifyAllBean;
import fei.yuzhi.com.loveflowers.bean.ClassifyItemBean;


/**
 * Created by Administrator on 2016/10/5.
 */
public class ClassifyContract {
    public interface ClassifyView extends IView {
        public void onGetClassifyAllBeanSuccess(List<ClassifyAllBean.DatasBean> list);
        public void onGetClassifyAllBeanFail();
        public void onGetClassifyItemBeanSuccess(List<ClassifyItemBean.DatasBean.ClassListBean.ChildBean> list);
        public void onGetClassifyItemBeanFail();
        public void onGetClassifySuccess(List<String> list);
        public void onGetClassifyFail();
    }
    public interface  ClassifyModle extends IModle{
        public void getClassifyAllBean(fei.yuzhi.com.loveflowers.fragment.classifyFragment.ClassifyModle.loadClassifyAllBean mclassifyAllBean);
        public void getClassifyItemBean(int id,fei.yuzhi.com.loveflowers.fragment.classifyFragment.ClassifyModle.loadClassifyItemBean classifyItemBean);
        public void getClassify(fei.yuzhi.com.loveflowers.fragment.classifyFragment.ClassifyModle.loadClassify mloadClassify);

    }
    public interface ClassifyPresenter  extends IPresenter{
        public void Connected();
        public void ConnectedClassifyItem();
        public void ConnectedAll();

    }
}
